 <include file="Public:head" /> 
 <link rel="stylesheet" type="text/css" href="{pigcms::RES}/css/cymain.css" />
 <link rel="stylesheet" href="{pigcms::STATICS}/kindeditor/themes/default/default.css" />
<link rel="stylesheet" href="{pigcms::STATICS}/kindeditor/plugins/code/prettify.css" />
<script src="{pigcms::STATICS}/kindeditor/kindeditor.js" type="text/javascript"></script>
<script src="{pigcms::STATICS}/kindeditor/lang/zh_CN.js" type="text/javascript"></script>
<script src="{pigcms::STATICS}/kindeditor/plugins/code/prettify.js" type="text/javascript"></script>
<script src="{pigcms::RES}/js/date/WdatePicker.js"></script>
<script type="text/javascript" src="{pigcms::RES}/js/formCheck/formcheck.js"> </script>
<script>

var editor;
KindEditor.ready(function(K) {
editor = K.create('#content', {
resizeType : 1,
allowPreviewEmoticons : false,
allowImageUpload : false,
items : [
'source','undo','clearhtml','hr',
'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
'insertunorderedlist', '|', 'emoticons', 'image','link', 'unlink','baidumap','lineheight','table','anchor','preview','print','template','code','cut']
});

});
</script>

  <div class="content"> 
   <div class="cLineB"> 
    <h4>添加回复</h4> 
    <a href="{pigcms::U('Reply/index',array('token'=>$token,'wecha_id'=>$wecha_id))}" class="right  btnGreen" style="margin-top:-27px">返回</a> 
   </div> 
   

   <form class="form" method="post" id="form" action="{pigcms::U('User/Reply/insert',array('token'=>$token,'wecha_id'=>$wecha_id))}"> 
<!--<if condition="$isUpdate eq 1">
<input type="hidden" name="id" value="{pigcms:$set.id}" />
</if>-->
<!--<input type="hidden" name="discount" id="discount" value="{pigcms:$set.discount}" />-->
<input type="hidden" name="wecha_id"  value="{pigcms:$wecha_id}" />
<input type="hidden" name="checked"  value="{pigcms:$checked}" />
<input type="hidden" name="chk"  value="{pigcms:$chk_value}" />
    <div class="msgWrap bgfc"> 
     <table class="userinfoArea" style=" margin:0;" border="0" cellspacing="0" cellpadding="0" width="100%"> 
      <tbody> 
      
        <TR>
                  <TH valign="top"><label for="info">图文详细页内容：</label></TH>
                  <TD><textarea name="content" id="content"  rows="5" style="width:590px;height:360px"></textarea></TD>
                </TR>  
       <tr>         
       <th>&nbsp;</th>
       <td>
      <input type="hidden" name="groupon" value="1" />
       <button type="submit" name="button" class="btnGreen">保存</button> &nbsp; <a href="{pigcms::U('Reply/index',array('token'=>$token,'wecha_id'=>$wecha_id))}" class="btnGray vm">取消</a></td> 
       </tr> 
      </tbody> 
     </table> 
     </div>
    
   </form> 
  </div> 

  <include file="Public:footer" />